package com.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("users_company")
public class UsersCompany {
    private static final long serialVersionUID=1L;
    @TableId
    private String companyKey;
    private String userKey;
    private String chronologicalEventsKey;
    private String companyName;
    private String companyAddress;
    private String companyWeb;
    private LocalDate registerDate;
    private String companySize;
    private String companyType;
    private String telephone;
    private String mobilePhone;
    private String legalPeople;
    private String registeredCapital;
    private String workPlace;
    private String businessScope;
    private String dutyParagraph;
    private String businessLicense;
    private Integer isdelete;
    @TableField(exist = false)
    private String modify;

    public UsersCompany(String companyName) {
        this.companyName = companyName;
    }

    public Serializable getCompanyKey() {
        return companyKey;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }

    public String getModify() {
        return modify;
    }

    public int getIsdelete() {
        return isdelete;
    }
}
